package com.example.ccod.nacos.gateway.client;

import com.ccod.nacos.order.model.OrderDTO;

/**
 * @author: ccod
 * @data: 2020/12/27 13:35
 **/
public interface OrderFacadeClient {

    /**
     * 功能描述: <br>
     * 〈创建订单〉
     * @Param: [dto]
     * @Return: boolean
     * @Author: Ccod
     * @Date: 2020/12/27 12:23
     */
    boolean createOrder(OrderDTO dto);

    /*
     * 功能描述: <br>
     * 〈搜索订单〉
     * @Param:
     * @Return:
     * @Author: Ccod
     * @Date: 2020/12/27 12:23
     */
    OrderDTO searchOrder(String orderId);

}
